<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <shiro:authenticated>
        欢迎 <shiro:principal/> 登录
        <a href="/user/logout">登出</a>
    </shiro:authenticated>

    <a href="/goods/getAll/1/2">查询所有商品</a>
</body>
</html>